package com.atguigu.tingshu.user.client.impl;


import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.user.UserInfo;
import com.atguigu.tingshu.user.client.UserInfoFeignClient;
import com.atguigu.tingshu.vo.user.UserInfoVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Slf4j
@Component
public class UserInfoDegradeFeignClient implements UserInfoFeignClient {


    @Override
    public Result<UserInfo> getUserInfoById(Long userId) {
        log.info("UserInfoDegradeFeignClient...getUserInfoById...方法执行了");
        return Result.fail();
    }

    @Override
    public Result<Map<Long, Long>> userIsPaidTrack(Long albumId, List<Long> trackIdList) {
        log.info("UserInfoDegradeFeignClient...userIsPaidTrack...方法执行了");
        return Result.fail();
    }

    @Override
    public Result<Boolean> isPaidAlbum(Long albumId, Long userId) {
        log.info("UserInfoDegradeFeignClient...isPaidAlbum...方法执行了");
        return Result.fail();
    }

    @Override
    public Result<List<Long>> findUserTrackPaidList(Long albumId) {
        log.info("UserInfoDegradeFeignClient...findUserTrackPaidList...方法执行了");
        return Result.fail();
    }

    @Override
    public Result updateVipExpireStatus() {
        log.info("UserInfoDegradeFeignClient...updateVipExpireStatus...方法执行了");
        return Result.fail();
    }
}
